#include "stdafx.h"
#include "ListItem.h"
#include "List.h"

CRect CListItem::GetRect() const
{
  CRect rc;
  if (pList)
  {
    rc = pList->GetItemRect(pList->GetItemIdx(this));
  }
  return rc;
}